<template>
	<div id="logininputs">
		<van-row class="loginchange">
			<van-col :span="12" @click="numberregister">账号注册</van-col>
			<van-col :span="12" @click="numberlogin">账号登录</van-col>
		</van-row>
		
		<!-- 账号注册 -->
		<numberregister v-if="isregister"></numberregister>
		
		
		<!-- 账号登录 -->
		<numberlogin v-else></numberlogin>
	</div>
</template>

<script>
	import numberregister from '@/components/register/numberregister.vue'
	import numberlogin from '@/components/login/numberlogin.vue'
	export default
	{
		data()
		{
			return{
				isregister:true
			}
		},
		components:
		{
			numberregister,
			numberlogin
		},
		methods:
		{
			numberregister()
			{
				this.isregister=true
			},
			numberlogin()
			{
				this.isregister=false
			}
		}
	}
</script>

<style>
</style>
